import { createSSRApp } from "vue";
import App from "./App.vue";
import * as Pinia from 'pinia';
import MyTab from './components/my-tab.vue'
import couHotRecipe from './components/couHotRecipe'
import moreRecipe from './components/moreRecipe'

export function createApp() {
  const app = createSSRApp(App);
  app.use(Pinia.createPinia());
  app.component('my-tab',MyTab);
  app.component('couHotRecipe',couHotRecipe)
  app.component('moreRecipe',moreRecipe)

  return {
    app,
	Pinia, // 此处必须将 Pinia 返回
  };
}
